package com.yubest.shell;

import org.jline.utils.AttributedString;
import org.springframework.shell.jline.PromptProvider;
import org.springframework.stereotype.Component;

/**
 * 自定义提示符
 *
 * @Author: hweiyu
 * @Date: 2022/11/10 14:37
 */
@Component
public class MyPromptProvider implements PromptProvider {

    @Override
    public AttributedString getPrompt() {
        return new AttributedString("yu-best:>");
    }
}
